package soundThreads;

public class SoundThread implements Runnable {

	private boolean buzz;

	public SoundThread(boolean isBuzzing) {
		this.buzz = isBuzzing;
	}

	@Override
	public void run() {
		if (buzz)
			System.out.println("Alarm making loud noises: " + buzz);
		else
			System.out.println("I hear your song on the radio");
	}

}
